<?php



// Server in the this format: <computer>\<instance name> or 
// <server>,<port> when using a non default port number
$server = 'mercoit.dyndns.org,1433';
//$server = '190.191.93.212,1433';
//$server = 'mercoit.dyndns.org';

// Connect to MSSQL
$link = mssql_connect($server, 'sa', 'Sa1234');
echo "<br>mensaje:".mssql_get_last_message();

die();

if (!$link) {
	echo mssql_get_last_message();
    die('Something went wrong while connecting to MSSQL');
} else {
    die('Conectado...');
}

	phpinfo();

?>